#include <SFML/Graphics.hpp>
#include<SFML/System.hpp>
#include<string>
#include<iostream>

/*
What's needed:
- the box needs cordinates
- function that scrolls the text
*/


#ifndef RPG

#define RPG

using namespace std;

class RPGBox
{
    public:

    RPGBox();

    //classes
    sf::Image Image;
    sf::Sprite Sprite;
    sf::Font Font;
    sf::String Text;
    sf::Vector2f Position;

    //variables
    int Font_Size;
    float Delay;
    string Original_Text;
    //functions
    void Load_Background(string filename);
    void Load_Font(string filename);
    void Set_Text(string Message, int size);
    void Set_Position(int x, int y); // updates box & text.
    void Set_Offset(int x, int y);

    void Scroll_Text();

};

#endif
